package top.itmeans.yes.portal.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import top.itmeans.yes.entity.Product;
import top.itmeans.yes.entity.ProductAttribute;
import top.itmeans.yes.entity.ProductAttributeValue;
import top.itmeans.yes.entity.SkuStock;

import java.util.List;

/**
 * 前台商品详情
 * @author Yiming.Cao
 */
@Getter
@Setter
public class PortalProductDetail{
    @ApiModelProperty("商品信息")
    private Product product;
    @ApiModelProperty("商品属性与参数")
    private List<ProductAttribute> productAttributeList;
    @ApiModelProperty("手动录入的商品属性与参数值")
    private List<ProductAttributeValue> productAttributeValueList;
    @ApiModelProperty("商品的sku库存信息")
    private List<SkuStock> skuStockList;
}
